<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" media="screen" type="text/css" href="__THEMES__/style/layout.css" />
		<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
		<script type="text/javascript" src="__JS__/jQuery/plugin/troperate.js"></script>
	</head>
	<body>
		
		<include file="Public:position" />
		
		<div class="button">
            <input type="button" value="新增公告" class="submit" id="add_notice" onclick="window.location.href='{:U('add',array('tag'=>$_GET['tag']))}';"  />
        </div>
                              
        <div class="a_table">
            <table cellspacing="1" cellpadding="8" width="100%" class="gr_list">
				<tr style="background: #f0f7ff; font-weight: bold;">
					<td width="60" align="center">ID</td>
					<td align="center">标题</td>
					<td width="160" align="center">作者</td>
					<td width="100" align="center">状态</td>
					<td width="200" align="center">操作</td>
				</tr>
				<volist id="vo" name="list">
				<tr rel="{$vo['id']}" class="row_color"<?php if( ( $i % 2 ) == 0 ){ ?> bgcolor="#f9f9f9"<?php } ?>>
					<td align="center">{$vo['id']}</td>
					<td align="left"><a href="{:U('edit?id='.$vo['id'].'&cid='.$vo['aid'].'&tag='.$_GET['tag'])}">{$vo['title']}</a></td>
					<td align="center">{$vo['author']|getAuthorName}</td>
					<td align="center">{$vo['status']|getStatus}</td>
					<td align="center">
						{$vo['status']|showStatus=$vo['id'],'navTabAjaxMenu'}<span class="action_line">|</span><a href="{:U('edit?id='.$vo['id'].'&tag='.$_GET['tag'])}" class="edit_model">编辑</a><span class="action_line">|</span><a href="{:U('delete?id='.$vo['id'])}" class="del_node" rel="{$vo.id}">删除</a>
					</td>
				</tr>
				</volist>
			</table>
        </div>
        
        <div class="page">{$page}</div>
	</body>
</html>